
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Flutter vs React Native · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../chapter2/" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.1.1" data-path="./">
            
                <a href="./">
            
                    
                    Flutter vs React Native
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="../chapter2/">
            
                <a href="../chapter2/">
            
                    
                    环境配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.2.1" data-path="../chapter2/section1.html">
            
                <a href="../chapter2/section1.html">
            
                    
                    前置依赖环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2.2" data-path="../chapter2/section2.html">
            
                <a href="../chapter2/section2.html">
            
                    
                    配置 Android 环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2.3" data-path="../chapter2/section3.html">
            
                <a href="../chapter2/section3.html">
            
                    
                    配置 Flutter 环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2.4" data-path="../chapter2/section4.html">
            
                <a href="../chapter2/section4.html">
            
                    
                    创建并运行 Flutter 项目
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="../chapter3/">
            
                <a href="../chapter3/">
            
                    
                    核心Widget的使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.3.1" data-path="../chapter3/section3.html">
            
                <a href="../chapter3/section3.html">
            
                    
                    MaterialApp
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.2" data-path="../chapter3/section1.html">
            
                <a href="../chapter3/section1.html">
            
                    
                    Text
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.3" data-path="../chapter3/section2.html">
            
                <a href="../chapter3/section2.html">
            
                    
                    Center
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.4" data-path="../chapter3/section4.html">
            
                <a href="../chapter3/section4.html">
            
                    
                    Scaffold
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.5" data-path="../chapter3/section5.html">
            
                <a href="../chapter3/section5.html">
            
                    
                    常用的布局组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.6" data-path="../chapter3/section6.html">
            
                <a href="../chapter3/section6.html">
            
                    
                    AppBar
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.7" data-path="../chapter3/section7.html">
            
                <a href="../chapter3/section7.html">
            
                    
                    TabBar
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.8" data-path="../chapter3/section8.html">
            
                <a href="../chapter3/section8.html">
            
                    
                    TabController
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.9" data-path="../chapter3/section9.html">
            
                <a href="../chapter3/section9.html">
            
                    
                    TabBarView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.10" data-path="../chapter3/section10.html">
            
                <a href="../chapter3/section10.html">
            
                    
                    Drawer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.11" data-path="../chapter3/section11.html">
            
                <a href="../chapter3/section11.html">
            
                    
                    UserAccountsDrawerHeader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.12" data-path="../chapter3/section12.html">
            
                <a href="../chapter3/section12.html">
            
                    
                    ListView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.13" data-path="../chapter3/section13.html">
            
                <a href="../chapter3/section13.html">
            
                    
                    CircleAvatar
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4" data-path="../chapter4/">
            
                <a href="../chapter4/">
            
                    
                    自定义 Widget
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.1" data-path="../chapter4/section1.html">
            
                <a href="../chapter4/section1.html">
            
                    
                    StatelessWidget
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2" data-path="../chapter4/section2.html">
            
                <a href="../chapter4/section2.html">
            
                    
                    StatefulWidget
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.5" data-path="../chapter5/">
            
                <a href="../chapter5/">
            
                    
                    事件绑定
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6" data-path="../chapter6/">
            
                <a href="../chapter6/">
            
                    
                    dio 数据请求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7" data-path="../chapter7/">
            
                <a href="../chapter7/">
            
                    
                    路由导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8" data-path="../chapter8/">
            
                <a href="../chapter8/">
            
                    
                    修改 App 名称和图标
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.9" data-path="../chapter9/">
            
                <a href="../chapter9/">
            
                    
                    打包发布 Android 项目
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.10" data-path="../chapter10/">
            
                <a href="../chapter10/">
            
                    
                    项目中用到的资源
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Flutter vs React Native</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="flutter-vs-react-native">Flutter vs React Native</h1>
<h2 id="&#x5E02;&#x9762;&#x4E0A;&#x4E3B;&#x6D41;&#x7684;&#x6DF7;&#x5408;-app-&#x5F00;&#x53D1;&#x6A21;&#x578B;">&#x5E02;&#x9762;&#x4E0A;&#x4E3B;&#x6D41;&#x7684;&#x6DF7;&#x5408; App &#x5F00;&#x53D1;&#x6A21;&#x578B;</h2>
<ul>
<li><p>&#x901A;&#x8FC7; WebView &#x52A0;&#x8F7D;&#x672C;&#x5730;&#x7F51;&#x9875;&#xFF0C;App &#x76F8;&#x5F53;&#x4E8E;&#x672C;&#x5730;&#x7F51;&#x7AD9;&#x3002;</p>
<ul>
<li>&#x4F8B;&#x5982;&#xFF1A;Cordova&#x3001;PhoneGap&#x3001;H5+&#x3001;Ionic</li>
</ul>
</li>
</ul>
<ul>
<li><p>&#x539F;&#x751F;&#x63A7;&#x4EF6;&#x7684;&#x8DE8;&#x5E73;&#x53F0;&#x62BD;&#x8C61;&#x3002;</p>
<ul>
<li>&#x4F8B;&#x5982;&#xFF1A;ReactNative&#x3001;Weex</li>
</ul>
</li>
</ul>
<h2 id="flutter---&#x6211;&#x4EEC;&#x4E0D;&#x4E00;&#x6837;">Flutter - &#x6211;&#x4EEC;&#x4E0D;&#x4E00;&#x6837;</h2>
<p>Flutter &#x4E00;&#x679D;&#x72EC;&#x79C0;&#xFF0C;&#x8D70;&#x51FA;&#x4E86;&#x4E0D;&#x4E00;&#x6837;&#x7684;&#x79FB;&#x52A8;App&#x5F00;&#x53D1;&#x8DEF;&#x7EBF;&#xFF1A;</p>
<p>Flutter <strong>&#x72EC;&#x7ACB;&#x4E8E;&#x539F;&#x751F;&#x63A7;&#x4EF6;&#x4E4B;&#x5916;&#xFF0C;&#x81EA;&#x5B9A;&#x5236;&#x4E86;&#x4E00;&#x5957; Flutter &#x7248;&#x7684;&#x539F;&#x751F;&#x63A7;&#x4EF6;</strong>&#xFF0C;&#x5E76;&#x4E14;&#x5728; Andriod &#x548C; IOS &#x5E73;&#x53F0;&#x4E0A;&#x5404;&#x81EA;&#x5B9E;&#x73B0;&#x4E86;&#x4E00;&#x904D;&#xFF0C;&#x4F9B;&#x5F00;&#x53D1;&#x8005;&#x8FDB;&#x884C;&#x4F7F;&#x7528;&#x3002;</p>
<p>&#x4E4B;&#x6240;&#x4EE5;&#x4E0D;&#x4F7F;&#x7528;&#x539F;&#x751F;&#x63A7;&#x4EF6;&#xFF0C;&#x662F;&#x56E0;&#x4E3A; Flutter &#x5E0C;&#x671B;&#x6700;&#x7EC8;&#x7ED3;&#x679C;&#x662F;&#x66F4;&#x9AD8;&#x8D28;&#x91CF;&#x7684;&#xFF0C;&#x5982;&#x679C; Flutter &#x4F7F;&#x7528;&#x539F;&#x751F;&#x7CFB;&#x7EDF; widget&#xFF0C;Flutter &#x5E94;&#x7528;&#x7684;&#x8D28;&#x91CF;&#x548C;&#x6027;&#x80FD;&#x5C06;&#x53D7;&#x5230;&#x8FD9;&#x4E9B; widget &#x672C;&#x8EAB;&#x8D28;&#x91CF;&#x7684;&#x9650;&#x5236;&#x3002;</p>
<h3 id="reactnative&#x4E4B;&#x7C7B;&#x7684;&#x6E32;&#x67D3;&#x6D41;&#x7A0B;">ReactNative&#x4E4B;&#x7C7B;&#x7684;&#x6E32;&#x67D3;&#x6D41;&#x7A0B;</h3>
<p><img src="../images/rn.png"></p>
<h3 id="flutter-&#x6E32;&#x67D3;&#x6D41;&#x7A0B;">Flutter &#x6E32;&#x67D3;&#x6D41;&#x7A0B;</h3>
<p><img src="../images/flutter.png"></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: Introduction">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../chapter2/" class="navigation navigation-next " aria-label="Next page: 环境配置">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Flutter vs React Native","level":"1.1.1","depth":2,"next":{"title":"环境配置","level":"1.1.2","depth":2,"path":"chapter2/README.md","ref":"chapter2/README.md","articles":[{"title":"前置依赖环境","level":"1.1.2.1","depth":3,"path":"chapter2/section1.md","ref":"chapter2/section1.md","articles":[]},{"title":"配置 Android 环境","level":"1.1.2.2","depth":3,"path":"chapter2/section2.md","ref":"chapter2/section2.md","articles":[]},{"title":"配置 Flutter 环境","level":"1.1.2.3","depth":3,"path":"chapter2/section3.md","ref":"chapter2/section3.md","articles":[]},{"title":"创建并运行 Flutter 项目","level":"1.1.2.4","depth":3,"path":"chapter2/section4.md","ref":"chapter2/section4.md","articles":[]}]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[{"title":"Flutter vs React Native","level":"1.1.1","depth":2,"path":"chapter1/README.md","ref":"chapter1/README.md","articles":[]},{"title":"环境配置","level":"1.1.2","depth":2,"path":"chapter2/README.md","ref":"chapter2/README.md","articles":[{"title":"前置依赖环境","level":"1.1.2.1","depth":3,"path":"chapter2/section1.md","ref":"chapter2/section1.md","articles":[]},{"title":"配置 Android 环境","level":"1.1.2.2","depth":3,"path":"chapter2/section2.md","ref":"chapter2/section2.md","articles":[]},{"title":"配置 Flutter 环境","level":"1.1.2.3","depth":3,"path":"chapter2/section3.md","ref":"chapter2/section3.md","articles":[]},{"title":"创建并运行 Flutter 项目","level":"1.1.2.4","depth":3,"path":"chapter2/section4.md","ref":"chapter2/section4.md","articles":[]}]},{"title":"核心Widget的使用","level":"1.1.3","depth":2,"path":"chapter3/README.md","ref":"chapter3/README.md","articles":[{"title":"MaterialApp","level":"1.1.3.1","depth":3,"path":"chapter3/section3.md","ref":"chapter3/section3.md","articles":[]},{"title":"Text","level":"1.1.3.2","depth":3,"path":"chapter3/section1.md","ref":"chapter3/section1.md","articles":[]},{"title":"Center","level":"1.1.3.3","depth":3,"path":"chapter3/section2.md","ref":"chapter3/section2.md","articles":[]},{"title":"Scaffold","level":"1.1.3.4","depth":3,"path":"chapter3/section4.md","ref":"chapter3/section4.md","articles":[]},{"title":"常用的布局组件","level":"1.1.3.5","depth":3,"path":"chapter3/section5.md","ref":"chapter3/section5.md","articles":[]},{"title":"AppBar","level":"1.1.3.6","depth":3,"path":"chapter3/section6.md","ref":"chapter3/section6.md","articles":[]},{"title":"TabBar","level":"1.1.3.7","depth":3,"path":"chapter3/section7.md","ref":"chapter3/section7.md","articles":[]},{"title":"TabController","level":"1.1.3.8","depth":3,"path":"chapter3/section8.md","ref":"chapter3/section8.md","articles":[]},{"title":"TabBarView","level":"1.1.3.9","depth":3,"path":"chapter3/section9.md","ref":"chapter3/section9.md","articles":[]},{"title":"Drawer","level":"1.1.3.10","depth":3,"path":"chapter3/section10.md","ref":"chapter3/section10.md","articles":[]},{"title":"UserAccountsDrawerHeader","level":"1.1.3.11","depth":3,"path":"chapter3/section11.md","ref":"chapter3/section11.md","articles":[]},{"title":"ListView","level":"1.1.3.12","depth":3,"path":"chapter3/section12.md","ref":"chapter3/section12.md","articles":[]},{"title":"CircleAvatar","level":"1.1.3.13","depth":3,"path":"chapter3/section13.md","ref":"chapter3/section13.md","articles":[]}]},{"title":"自定义 Widget","level":"1.1.4","depth":2,"path":"chapter4/README.md","ref":"chapter4/README.md","articles":[{"title":"StatelessWidget","level":"1.1.4.1","depth":3,"path":"chapter4/section1.md","ref":"chapter4/section1.md","articles":[]},{"title":"StatefulWidget","level":"1.1.4.2","depth":3,"path":"chapter4/section2.md","ref":"chapter4/section2.md","articles":[]}]},{"title":"事件绑定","level":"1.1.5","depth":2,"path":"chapter5/README.md","ref":"chapter5/README.md","articles":[]},{"title":"dio 数据请求","level":"1.1.6","depth":2,"path":"chapter6/README.md","ref":"chapter6/README.md","articles":[]},{"title":"路由导航","level":"1.1.7","depth":2,"path":"chapter7/README.md","ref":"chapter7/README.md","articles":[]},{"title":"修改 App 名称和图标","level":"1.1.8","depth":2,"path":"chapter8/README.md","ref":"chapter8/README.md","articles":[]},{"title":"打包发布 Android 项目","level":"1.1.9","depth":2,"path":"chapter9/README.md","ref":"chapter9/README.md","articles":[]},{"title":"项目中用到的资源","level":"1.1.10","depth":2,"path":"chapter10/README.md","ref":"chapter10/README.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter1/README.md","mtime":"2018-12-15T13:36:29.119Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-17T10:25:33.898Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

